Skip to content

Conversation

@mnenie
Copy link
Contributor

@mnenie mnenie commented Jun 9, 2025

Partially resolves #31

In this pr, I’ve added the following control methods cancel, flush, isPending with their test coverage and resolved one of the points in issue:

Some other nice to haves would be to be able to flush the debouncer or at least know if it's currently pending or not.

Hope all correct, looking forward a review and hope this can be merged soon 💯

Copy link
Member

@pi0 pi0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks ❤️

@pi0 pi0 merged commit 9ec22a3 into unjs:main Aug 22, 2025
2 checks passed
@codecov
Copy link

codecov bot commented Aug 22, 2025

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add maxWait option

2 participants